<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/styles/general.css" rel="stylesheet" type="text/css" />
<link href="/styles/base.css" rel="stylesheet" type="text/css" />
<link href="/styles/top.css" rel="stylesheet" type="text/css" />
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#menu-ul li").each(function(){
		$(this).click(function(){
			$("#menu-ul li.currentMenu").removeClass('currentMenu');
			$(this).addClass('currentMenu');
	    });
    });
    //
	$(".topnav:first").trigger('click');
});
</script>
</head>
<body>
<div id="logo-div"><img src="/images/adminLogo.gif" alt="高清视频发布和管理平台" /></div>
<div id="headerRight-div">
    <div id="infoBar-div">
        用户名：<strong>$session['username']</strong>，角色：{$roleInfo["name"]} | <a href="/index/logout/" target="_top">退出登录</a> | <a href="/admin/password/" class="white" target="right">修改密码</a>| <a href="/" class="white" target="_blank">网站首页</a>
    </div>
    <div id="menu-div">
        <ul id="menu-ul">
        <!-- 条目排序是从右向左倒序 -->
        {loop $infos $k $info}
            <li><a class="topnav" href="/index/menu/menuid/{$info['menuid']}/" target="left">{$info['name']}</a></li>        
        {/loop}
        <!-- <li class="currentMenu" ><a href="/index/main/" target="right">起始页</a></li> -->
        </ul>
    </div>
</div>
</body>
</html>
